#ifndef PEOPLE_H
#define PEOPLE_H

#include <QObject>
#include<head.h>


class people : public QObject
{
    Q_OBJECT
public:
    explicit people(QObject *parent = nullptr);

    QPixmap p_people;
    QRect rect;

    int pX,pY;
    const int posY=570;
    //定义方向
    int presskey=0;

    void updatePosition();



signals:

public slots:
};

#endif // PEOPLE_H

